package crm.dto;

import java.util.HashSet;
import java.util.Set;

public class Client {
	
	private int id;
	private String name;
	private String phone;
	private String mail;
	private Set<Project> projects = new HashSet<Project>();
	
	public Set<Project> getProjects() {
		return projects;
	}
	public void setProjects(Set<Project> projects) {
		this.projects = projects;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getMail() {
		return mail;
	}
	public void setMail(String mail) {
		this.mail = mail;
	}
		
	@Override
	public String toString (){
		return 	id + " " + name;
	}
}
